import logging
def log_set():
    logging.basicConfig(level=logging.DEBUG,filemode="a+",filename="log.log",
                        format="%(filename)s-%(asctime)s-%(message)s")
